package com.bx.implatform.growUp.param;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(description = "长大接口请求公共参数对象")
public class GrowUpBaseParam {

    @NotNull(message = "当前页数不可为空")
    @Schema(description = "当前页数，须大于0", defaultValue = "1")
    public Integer page;

    @NotNull(message = "分页大小不可为空")
    @Schema(description = "分页大小", defaultValue = "10")
    public Integer pageSize;

    @Schema(description = "开始时间")
    public String startDate;

    @Schema(description = "群结束时间")
    public String endDate;
}
